package com.hrbu.spring.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 *
 * 编写一个类来代替xml配置文件
 *
 * @author 徐登宇
 */
@ComponentScan({"com.hrbu.spring.dao", "com.hrbu.spring.service"})
@Configuration // 声明是一个配置类
public class SpringConfig {
}
